package com.ydd.entity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.time.LocalDateTime;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/**
* 菜单表
* @TableName sys_menu
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SysMenu implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private Integer pid;
    private String path;
    private String component;
    private String title;
    private String icon;
    private Integer isShow;
    private Integer isCache;
    private Integer isLink;
    private String redirect;
    private LocalDateTime createDate;
    private LocalDateTime updateDate;
    private Integer delFlag;
    private Integer type;
    private Integer sort;
    private String mark;
    private String defaultData;
}
